import { login, getUserInfo, editUserInfo, uploadImg } from './login'
import { getUserChannel, getNewList, getArticle, followAuth, unfollowAuth } from './home'
import { getComments, setComment } from './comment.js'
import { getAllChannel, addChannel, delChannel } from './channel.js'
import { getThink, getResult } from './search'

export const getResultApi = getResult
export const getThinkApi = getThink
export const delChannelApi = delChannel
export const addChannelApi = addChannel
export const getAllChannelApi = getAllChannel
export const setCommentApi = setComment
// 暴露方法
export const getCommentsApi = getComments
export const loginApi = login
export const getUserInfoApi = getUserInfo
export const editUserInfoApi = editUserInfo
export const uploadImgApi = uploadImg
export const getUserChannelApi = getUserChannel
export const getNewListApi = getNewList
export const getArticleApi = getArticle
export const followAuthApi = followAuth
export const unfollowAuthApi = unfollowAuth
